using System;
using System.Collections.Generic;
using System.Text;

namespace Universe.WCF.Behaviors
{
public class TrafficStatisticConfiguration
{
    public static readonly TrafficStatisticConfiguration Common = new TrafficStatisticConfiguration();

    public delegate void Handler(string action, long requests, long recieved, long sent);

    public Handler OnClient = delegate { };
    public Handler OnServer = delegate { };

    public TrafficStatisticConfiguration()
    {
    }

    public TrafficStatisticConfiguration(Handler onClient, Handler onServer)
    {
        OnClient += onClient;
        OnServer += onServer;
    }
}
}